<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
<!-- whatsnew56.qdoc -->
  <title>What's New in Qt 5.6 | Qt 5.14</title>
  <link rel="stylesheet" type="text/css" href="style/offline-simple.css" />
  <script type="text/javascript">
    document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css");
    // loading style sheet breaks anchors that were jumped to before
    // so force jumping to anchor again
    setTimeout(function() {
        var anchor = location.hash;
        // need to jump to different anchor first (e.g. none)
        location.hash = "#";
        setTimeout(function() {
            location.hash = anchor;
        }, 0);
    }, 0);
  </script>
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="main">
    <div class="main-rounded">
      <div class="navigationbar">
        <table><tr>
<td ><a href="index.html">Qt 5.14</a></td><td >What's New in Qt 5.6</td></tr></table><table class="buildversion"><tr>
<td id="buildversion" width="100%" align="right">Qt 5.14.2 Reference Documentation</td>
        </tr></table>
      </div>
    </div>
<div class="content">
<div class="line">
<div class="content mainContent">
<div class="sidebar">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#new-modules">New Modules</a></li>
<li class="level1"><a href="#new-features-in-qt-5-6">New Features in Qt 5.6</a></li>
<li class="level2"><a href="#qt-3d-module">Qt 3D Module</a></li>
<li class="level2"><a href="#qt-core-module">Qt Core Module</a></li>
<li class="level2"><a href="#qt-canvas3d-module">Qt Canvas3D Module</a></li>
<li class="level2"><a href="#qt-gui-module">Qt GUI Module</a></li>
<li class="level2"><a href="#qt-multimedia-module">Qt Multimedia Module</a></li>
<li class="level2"><a href="#qt-nfc-module">Qt NFC Module</a></li>
<li class="level2"><a href="#qt-network-module">Qt Network Module</a></li>
<li class="level2"><a href="#qt-platform-abstraction-qpa">Qt Platform Abstraction (QPA)</a></li>
<li class="level2"><a href="#qt-positioning-module">Qt Positioning Module</a></li>
<li class="level2"><a href="#qt-qml-module">Qt QML Module</a></li>
<li class="level2"><a href="#qt-testlib-module">Qt Testlib Module</a></li>
<li class="level2"><a href="#qt-webview-module">Qt WebView Module</a></li>
<li class="level2"><a href="#qt-webengine-module">Qt WebEngine Module</a></li>
<li class="level2"><a href="#qt-widgets-module">Qt Widgets Module</a></li>
<li class="level1"><a href="#removed-functionality">Removed Functionality</a></li>
<li class="level1"><a href="#deprecated-functionality">Deprecated Functionality</a></li>
<li class="level1"><a href="#list-of-api-changes">List of API Changes</a></li>
<li class="level1"><a href="#additions-to-other-qt-5-releases">Additions to Other Qt 5 Releases</a></li>
</ul>
</div>
<div class="sidebar-content" id="sidebar-content"></div></div>
<h1 class="title">What's New in Qt 5.6</h1>
<span class="subtitle"></span>
<!-- $$$whatsnew56.html-description -->
<div class="descr"> <a name="details"></a>
<p>Qt 5.6 is a long-term support (LTS) release.</p>
<a name="new-modules"></a>
<h2 id="new-modules">New Modules</h2>
<ul>
<li><a href="../qtquickcontrols/qtquickcontrols-index.html">Qt Quick Controls 2</a><ul>
<li>Included as a technology preview.</li>
<li>Provides lightweight QML types for creating performant user interfaces for embedded and mobile devices.</li>
</ul>
</li>
<li><a href="../qtserialbus/qtserialbus-index.html">Qt Serial Bus</a><ul>
<li>Included as a technology preview.</li>
<li>Provides a framework for accessing serial bus backends in general, and implementations for Controller Area Network (CAN) bus and Modbus.</li>
</ul>
</li>
<li><a href="license-changes.html#qt-wayland-compositor">Qt Compositor</a>(Qt Wayland)<ul>
<li>Included as a technology preview.</li>
<li>Provides a framework to develop Wayland compositor.</li>
</ul>
</li>
<li><a href="../qtwebengine/qtwebenginecore-index.html">Qt WebEngine Core</a><ul>
<li>Provides a public API shared by both <a href="../qtwebengine/qtwebengine-index.html">Qt WebEngine</a> and <a href="../qtwebengine/qtwebenginewidgets-index.html">Qt WebEngine Widgets</a>.</li>
</ul>
</li>
</ul>
<a name="new-features-in-qt-5-6"></a>
<h2 id="new-features-in-qt-5-6">New Features in Qt 5.6</h2>
<a name="qt-3d-module"></a>
<h3 id="qt-3d-module">Qt 3D Module</h3>
<ul>
<li>New buffer and attribute API.</li>
<li>Support for <a href="http://www.opengl.org/wiki/Vertex_Rendering#Instancing">OpenGL instanced rendering</a> where supported.</li>
<li>Support for <a href="http://www.opengl.org/wiki/Vertex_Rendering#Primitive_Restart">OpenGL primitive restart</a>.</li>
<li>Support for clip planes, stencil operations, and many more OpenGL features.</li>
<li>Support for easily generating buffer data from C++ and QML (using JavaScript typed arrays).</li>
<li><i>qgltf</i> tool to compile scenes into <a href="http://www.khronos.org/gltf/">glTF</a>.</li>
<li>Support for loading glTF scenes via <a href="../qt3d/qml-qt3d-render-sceneloader.html">SceneLoader</a>.</li>
<li>Support for controlling multi-sampling with <a href="../qt3d/qml-qtquick-scene3d-scene3d.html">Scene3D</a>.</li>
<li>More standard materials: per-vertex colors and Gooch shading.</li>
<li>New APIs for mouse input and collision detection.</li>
<li>New Logic aspect to have QML/C++ code executed synchronously with the Qt 3D aspect engine. Useful for prototyping future Qt 3D features.</li>
</ul>
<a name="qt-core-module"></a>
<h3 id="qt-core-module">Qt Core Module</h3>
<ul>
<li>Reduced memory usage of dynamic properties.</li>
<li>Allow logging directly to syslog on Linux systems.</li>
<li>Added <a href="../qtcore/qstorageinfo.html#blockSize">QStorageInfo::blockSize</a>().</li>
<li>Added <a href="../qtcore/qversionnumber.html">QVersionNumber</a> class.</li>
<li>Added key_iterator to <a href="../qtcore/qhash.html#qhash">QHash</a> and <a href="../qtcore/qmap.html">QMap</a>.</li>
<li>Added const_iterator to <a href="../qtcore/qbytearray.html">QByteArray</a>.</li>
<li>Added reverse iterator support to all sequential containers.</li>
<li>added <a href="../qtcore/qdir.html#listSeparator">QDir::listSeparator</a>().</li>
<li>Optimized performance in <a href="../qtcore/qstring.html">QString</a>.</li>
</ul>
<a name="qt-canvas3d-module"></a>
<h3 id="qt-canvas3d-module">Qt Canvas3D Module</h3>
<ul>
<li>Support for using Qt Quick items as textures.</li>
<li>Support for rendering directly to Qt Quick scene background or foreground.</li>
</ul>
<a name="qt-gui-module"></a>
<h3 id="qt-gui-module">Qt GUI Module</h3>
<ul>
<li>Improved cross-platform OpenGL ES 3.0 and 3.1 support to enable developing mobile/embedded applications utilizing GLES3 features.</li>
<li>Improved cross-platform high-dpi support.</li>
<li>Raster engine support for rendering internally with 16bits-per-color.</li>
<li><a href="../qtgui/qimagereader.html">QImageReader</a> now exports gamma values and other meta data for some image formats.</li>
</ul>
<a name="qt-multimedia-module"></a>
<h3 id="qt-multimedia-module">Qt Multimedia Module</h3>
<ul>
<li>New Playlist QML type.</li>
<li>New audio role API for the media player (C++ and QML).</li>
<li>Support for camera focus and video probe on WinRT.</li>
<li>New functions in QML <a href="../qtmultimedia/qml-qtaudioengine-audioengine.html">AudioEngine</a> to support dynamic object creation.</li>
</ul>
<a name="qt-nfc-module"></a>
<h3 id="qt-nfc-module">Qt NFC Module</h3>
<ul>
<li>Added support for Android.</li>
</ul>
<a name="qt-network-module"></a>
<h3 id="qt-network-module">Qt Network Module</h3>
<ul>
<li>Added <a href="../qtnetwork/qhostaddress.html#isMulticast">QHostAddress::isMulticast</a>().</li>
<li>Support HTTP redirection in <a href="../qtnetwork/qnetworkaccessmanager.html">QNetworkAccessManager</a>.</li>
</ul>
<a name="qt-platform-abstraction-qpa"></a>
<h3 id="qt-platform-abstraction-qpa">Qt Platform Abstraction (QPA)</h3>
<ul>
<li>Optional support for using <a href="qt-embedded-fonts.html#freetype">FreeType</a> on macOS.</li>
<li>Added support for NVIDIA Jetson TK1 Pro boards running Vibrante Linux via a new eglfs backend utilizing DRM, EGLDevice, and EGLStream.</li>
<li>Added support for Intel Atom-based NUCs.</li>
<li>Added support for WEC2013.</li>
<li>Windows 10 fully supported (classic and WinRT app)</li>
<li>Windows Store apps are now composited inside a XAML layer, allowing better integration with the native UI layer.</li>
<li>Use <code>libinput</code>, if available, as the default on <code>eglfs</code> and <code>linuxfb</code>.</li>
</ul>
<a name="qt-positioning-module"></a>
<h3 id="qt-positioning-module">Qt Positioning Module</h3>
<ul>
<li>Added support for macOS.</li>
<li>Added support for GPS receivers exposed as a serial port on Windows desktop (all versions).</li>
<li>Removed libgeoclue dependency for the GeoClue backend.</li>
</ul>
<a name="qt-qml-module"></a>
<h3 id="qt-qml-module">Qt QML Module</h3>
<ul>
<li>Support for writing JavaScript function names to Linux's perf output.</li>
<li>Reduced overall memory consumption.</li>
</ul>
<a name="qt-testlib-module"></a>
<h3 id="qt-testlib-module">Qt Testlib Module</h3>
<ul>
<li>More stable input event handling.</li>
</ul>
<a name="qt-webview-module"></a>
<h3 id="qt-webview-module">Qt WebView Module</h3>
<ul>
<li>Added support for WinRT.</li>
</ul>
<a name="qt-webengine-module"></a>
<h3 id="qt-webengine-module">Qt WebEngine Module</h3>
<ul>
<li>Based on Chromium 45.</li>
<li>Support for pepper plugins including Flash.</li>
<li>Support for unbundling and linking with system libraries on Linux.</li>
<li>Support for following global Qt proxy settings.</li>
<li>More WebActions from QtWebKit and WebAction API in QML.</li>
<li>New <a href="../qtwebengine/qtwebenginecore-module.html">QtWebEngineCore</a> module for shared low-level API.</li>
<li>New core API for custom URL schemes.</li>
<li>New core API for intercepting and blocking network requests.</li>
<li>New core API for tracking or blocking cookies.</li>
</ul>
<a name="qt-widgets-module"></a>
<h3 id="qt-widgets-module">Qt Widgets Module</h3>
<ul>
<li>Allow programmatic resizing of dock widgets.</li>
<li>Allow dropping dock widgets into floating docks.</li>
<li>Allow the user to re-arrange tabbed docks.</li>
<li>Allow horizontal scrolling using a mouse wheel in <a href="../qtwidgets/qlistview.html">QListView</a>.</li>
<li>Support <a href="../qtwidgets/qopenglwidget.html">QOpenGLWidget</a> and <a href="../qtquick/qquickwidget.html">QQuickWidget</a> on WinRT.</li>
</ul>
<a name="removed-functionality"></a>
<h2 id="removed-functionality">Removed Functionality</h2>
<ul>
<li>Qt <a href="../qtwebengine/qtwebengine-3rdparty-webkit.html">WebKit</a></li>
<li>Qt Declarative (Qt Quick 1)</li>
</ul>
<a name="deprecated-functionality"></a>
<h2 id="deprecated-functionality">Deprecated Functionality</h2>
<ul>
<li>Enginio</li>
<li>Qt Script</li>
</ul>
<p>These modules are still included in Qt 5.6, but are considered for removal in future releases.</p>
<a name="list-of-api-changes"></a>
<h2 id="list-of-api-changes">List of API Changes</h2>
<p>The pages below contain a list of API changes in Qt 5.6:</p>
<ul>
<li><a href="newclasses56.html">New Classes and Functions in Qt 5.6</a></li>
<li><a href="obsoleteclasses.html">Obsolete Classes</a></li>
</ul>
<a name="additions-to-other-qt-5-releases"></a>
<h2 id="additions-to-other-qt-5-releases">Additions to Other Qt 5 Releases</h2>
<ul>
<li><a href="whatsnew55.html">What's New in Qt 5.5</a></li>
<li><a href="whatsnew54.html">What's New in Qt 5.4</a></li>
<li><a href="whatsnew53.html">What's New in Qt 5.3</a></li>
<li><a href="whatsnew52.html">What's New in Qt 5.2</a></li>
<li><a href="whatsnew51.html">What's New in Qt 5.1</a></li>
<li><a href="whatsnew50.html">What's New in Qt 5.0</a></li>
</ul>
</div>
<!-- @@@whatsnew56.html -->
        </div>
       </div>
   </div>
   </div>
</div>
<div class="footer">
   <p>
   <acronym title="Copyright">&copy;</acronym> 2020 The Qt Company Ltd.
   Documentation contributions included herein are the copyrights of
   their respective owners.<br/>    The documentation provided herein is licensed under the terms of the    <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation    License version 1.3</a> as published by the Free Software Foundation.<br/>    Qt and respective logos are trademarks of The Qt Company Ltd.     in Finland and/or other countries worldwide. All other trademarks are property
   of their respective owners. </p>
</div>
</body>
</html>
